package com.unionfetch.content_home.ui.fragment

import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import com.unionfetch.content_home.R
import com.unionftech.common.R.string
import com.unionftech.common.base.BaseFragment
import com.unionftech.common.common.language.DynamicResourceManager


/**
 * 持仓界面
 */
class TakePositionFragment : BaseFragment() {
    private val mTvPageResultTip by lazy { mRootView.findViewById<TextView>(R.id.tv_page_result_tip) }
    private val mIvPageResult by lazy { mRootView.findViewById<ImageView>(R.id.iv_page_result) }

    companion object {

        @JvmStatic
        fun newInstance() = TakePositionFragment().apply {
            arguments = Bundle().apply {

            }
        }
    }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        arguments?.let {

        }
    }


    override fun inflaterContentView(
        inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?
    ): View? {
        // Inflate the layout for this fragment
        return inflater.inflate(R.layout.fragment_take_position, container, false)
    }

    override fun initLanguageText() {
        super.initLanguageText()
        mTvPageResultTip.text = DynamicResourceManager.getString(mContext, string.without_data)
    }

    override fun setListener() {
        super.setListener()
    }

    override fun setView() {
        super.setView()
        hideTitleBar()
    }

}